package com.liveneo.adapter.base.support;

/**
 * 
 * @author fucy
 * @since 2016-06-05
 */
public interface BaseMapper<T extends BaseEntity> {
    int deleteByPrimaryKey(String id);

    int insert(T record);

    int insertSelective(T record);

    T selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(T record);

    int updateByPrimaryKey(T record);
}